const mongoose=require('mongoose')
mongoose.connect('mongodb://127.0.0.1/z51').then(()=>{
    console.log("成功")
}).catch((err)=>{
    console.log('失败')    
})

module.exports=mongoose